package com.ssy.lingxi.product.api.model.request.commodity;

import lombok.Data;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 已售商品
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/10/22
 */
@Data
public class CommoditySoldRequest implements Serializable{
    private static final long serialVersionUID = -8134027999569679004L;
    /**
     * 商品类型: 1-会员商品; 2-渠道商品
     */
    private Integer commodityType;

    /**
     * 商品信息: key-商品skuId; value-已售数量
     */
    private HashMap<Long, Integer> commodityCount;
}
